function money(vuserid){
	var butType=$('#butType').val();
	var vmoneySum=$('#moneySum').val();
//	alert(butType);
	if(butType==1){
		$.ajax({
			url:"/chat/pa",
			type:"POST",
			data : {
				userId:vuserid,
				moneySum:vmoneySum
			},
			success:function(result){
				location.href="/chat/pay";
			}
		});
	}else if(butType==2){
		alert("取现成功，谢谢使用YOGAapp哟！^o^");
		$.ajax({
			url:"/chat/substract",
			type:"POST",
			data : {
				userId:vuserid,
				moneySum:vmoneySum
			},
			success:function(result){
				location.reload();
			}
		});
	}
	
}
function but1(){
	$('#butType').val('1');
}
function but2(){
	$('#butType').val('2');
}